/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package pl.edu.amu.wmi.kino.visualjavafx.model.generators;


import pl.edu.amu.wmi.kino.visualjavafx.model.objects.Point;
import pl.edu.amu.wmi.kino.visualjavafx.model.objects.path.MoveToPathElement;

/**
 *
 * @author Admin
 */
public class ModelMoveToGenerator {
    public static MoveToPathElement generateMoveTo(Point p){
        MoveToPathElement res = new MoveToPathElement();
        res.getPoints().add(p);
        return res;
    }
}
